/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.system.api;

import com.jnzc.ocr.serv.system.entity.SysCompany;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @author zhangcm
 * @version 1.0, 2017/8/31
 */
@FeignClient("serv-system")
@RequestMapping("/sysCompanyApi")
public interface SysCompanyApi {

    @RequestMapping(value = "/listId", method = RequestMethod.POST)
    List<Long> listId();

    @RequestMapping(value = "/create", method = RequestMethod.POST)
    SysCompany create(@RequestBody SysCompany param);
}
